home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 26.zip
/
BS1 part 26
/
Cando v1.6 disk 2.adf
/
HelpFiles
/
Screen and Window
< prev
next >
Wrap
Text File
|
1992-01-14
|
9KB
|
508 lines
C- GetViewOffset |getviewoffset|
C- GetWindowLimits |getwindowlimits|
V- HiRes |hires|
V- Interlace |interlace|
V- MouseX |mousex|
V- MouseY |mousey|
C- MoveScreen |movescreen|
C- MoveWindow |movewindow|
V- NTSC |ntsc|
C- Pointer |pointer|
C- ResizeWindow |resizewindow|
V- ScreenAddress |screenaddress|
V- ScreenColors |screencolors|
V- ScreenHeight |screenheight|
V- ScreenTitle |screentitle|
C- ScreenTitleBar |screentitlebar|
C- ScreenTo |screento|
V- ScreenWidth |screenwidth|
V- ScreenX |screenx|
V- ScreenY |screeny|
C- SetPointer |setpointer|
C- SetScreenTitle |setscreentitle|
C- SetViewOffset |setviewoffset|
C- SetWindowLimits |setwindowlimits|
C- SetWindowTitle |setwindowtitle|
V- WindowAddress |windowaddress|
V- WindowBorderBottom |windowborderbottom|
V- WindowBorderLeft |windowborderleft|
V- WindowBorderRight |windowborderright|
V- WindowBorderTop |windowbordertop|
V- WindowColors |windowcolors|
V- WindowHeight |windowheight|
V- WindowName |windowname|
V- WindowTitle |windowtitle|
C- WindowTo |windowto|
V- WindowWidth |windowwidth|
V- WindowX |windowx|
V- WindowY |windowy|
V- WorkbenchColors |workbenchcolors|
V- WorkbenchHeight |workbenchheight|
V- WorkbenchWidth |workbenchwidth|
[E]
|getviewoffset|
WT GetViewOffset <XVarName>, <YVarName>
PL Returns the view offset. This is commonly
PT used with
BS SetViewOffset
PL to find out the
PL views current offset so that an calculated
PL move can be made or to store off the
PL original offset.
ED
|getwindowlimits|
WT GetWindowLimits <MinWidthVarName>, <MinHeightVarName>, <MaxWidthVarName>, <MaxHeightVarName>
PL Returns the current window sizing limits
PL into the specified variables.
PL
PT SEE ALSO:
BS SetWindowLimits
PT .
ED
|hires|
WT {Logical}=HiRes
PT This returns
BS True
PL when the current card's
PL screen is in High-Resolution mode. High-
PL resolution mode used 60ns pixels and
PL normally has 640 pixels horizontally.
PL
PT SEE ALSO:
BS Interlace
PT .
ED
|interlace|
WT {Logical}=Interlace
PT This returns
BS True
PL when the current card's
PL screen is in Interlace mode. Interlace
PL mode causes normal displays to flicker and
PL normally has 400/512 pixels vertically.
PL
PT SEE ALSO:
BS HiRes
PT .
ED
|mousex|
WT {Integer}=MouseX
PL This returns the mouse's X coordinate
PL when this event was caused. If no event
PL script is running then this returns the last
PL known X position of the mouse.
PL
PT SEE ALSO:
BS MouseY
PT .
ED
|mousey|
WT {Integer}=MouseY
PL This returns the mouse's Y coordinate
PL when this event was caused. If no event
PL script is running then this returns the last
PL known Y position of the mouse.
PL
PT SEE ALSO:
BS MouseX
PT .
ED
|movescreen|
WT MoveScreen {DeltaX}, {DeltaY}
PL Move the screen a specified number of pixels
PL right/left {DeltaX}, or up/down {DeltaY}.
PL Note: Under AmigaDOS 1.3, right/left and
PL up doesn't work all that well.
PL
PT SEE ALSO:
BS ScreenX
PT and
BS ScreenY
PT .
ED
|movewindow|
WT MoveWindow {DeltaX}, {DeltaY}
PL Move the window a specified number of pixels
PL right/left {DeltaX}, or up/down {DeltaY}.
PL
PT SEE ALSO:
BS WindowX
PT and
BS WindowY
PT .
ED
|ntsc|
WT {Logical}=NTSC
PL If the deck is running on a NTSC system
PT this variable will return
BS True
PL . When
PL running on a PAL system it will return
PT a
BS False
PL .
ED
|pointer|
WT Pointer {Logical}
PT Turns the mouse pointer
BS On
PT or
BS Off
PT .
PL
PT SEE ALSO:
BS SetPointer
PT .
ED
|resizewindow|
WT ResizeWindow {width}, {height}
PL Resize the window to a new width and height.
PL
PT SEE ALSO:
BS WindowWidth
PT and
BS WindowHeight
PT .
ED
|screenaddress|
WT {Integer}=ScreenAddress
PL Returns a integer that is a pointer to the
PL current window's screen.
ED
|screencolors|
WT {Integer}=ScreenColors
PL This returns the number of colors available
PL for the current screen.
PL
PT SEE ALSO:
BS WindowColors
PT .
ED
|screenheight|
WT {Integer}=ScreenHeight
PL This returns the height of the current
PL screen.
PL
PT SEE ALSO:
BS WindowHeight
PT .
ED
|screentitle|
WT {String}=ScreenTitle
PL This returns the titlebar text of the
PL current screen.
PL
PT SEE ALSO:
BS WindowTitle
PT .
ED
|screentitlebar|
WT ScreenTitleBar {Logical}
PL If using a custom screen, this command
PL allows the screen's title bar to be
PL displayed if the logical expression is
PT
BS True
PT , or hidden if it is
BS False
PL .
PL NOTE: The window's title bar may hide
PL the screen's title, even if TRUE
ED
|screento|
WT ScreenTo <flags>
PL Moves the screen to front or back depending
PL on the flag settings. See pages 4-18 and
PL 6-35 in the yellow manual for a full
PL description of this command.
PL
PT SEE ALSO:
BS WindowTo
PT .
ED
|screenwidth|
WT {Integer}=ScreenWidth
PL This returns the width of the current
PL screen.
PL
PT SEE ALSO:
BS WindowWidth
PT .
ED
|screenx|
WT {Integer}=ScreenX
PL This returns the current screen's X offset
PL from the system's master view.
PL
PT SEE ALSO:
BS ScreenY
PT .
ED
|screeny|
WT {Integer}=ScreenY
PL This returns the current screen's Y offset
PL from the system's master view.
PL
PT SEE ALSO:
BS ScreenX
PT .
ED
|setpointer|
WT SetPointer [{BrushBufferName} [,{XHotSpot}, {YHotSpot}]]
PL Use a DPaint style brush as the mouse
PL pointer. If given, {XHotSpot} and
PL {YHotSpot} indicate the mouse's "hotspot".
PL If no parameters are given, we will use the
PL system pointer.
PT SEE ALSO:
BS Pointer
PT and
BS SetBusyPointer
PT .
ED
|setscreentitle|
WT SetScreenTitle {String}
PL This will change the screen's titlebar
PL text display.
PL
PT SEE ALSO:
BS ScreenTitle
PT and
BS ScreenTitleBar
PT .
ED
|setviewoffset|
WT SetViewOffset {X}, {Y}
PL Changes the system's view offset. Used
PT with
BS GetViewOffset
PL . NOTE: Use this
PL with great caution.
ED
|setwindowlimits|
WT SetWindowLimits {MinWidth}, {MinHeight}, {MaxWidth}, {MaxHeight}
PL Defines the window's sizing limits to be
PL between {MinWidth} and {MaxWidth}
PL horizontally and between {MinHeight} and
PL {MaxHeight} vertically.
PL
PT SEE ALSO:
BS GetWindowLimits
PT .
ED
|setwindowtitle|
WT SetWindowTitle {String}
PL This will change the window's titlebar
PL text display.
PL
PT SEE ALSO:
BS WindowTitle
PT .
ED
|windowaddress|
WT {Integer}=WindowAddress
PL Returns a integer that is a pointer to the
PL current window.
ED
|windowborderbottom|
WT {Integer}=WindowBorderBottom
PL This returns the height of the bottom
PL window border. This is affected by the
PL border flag in window options.
PL
PT SEE ALSO:
BS WindowBorderTop
PT ,
BS WindowBorderLeft
PL
PT and
BS WindowBorderRight
PT .
ED
|windowborderleft|
WT {Integer}=WindowBorderLeft
PL This returns the width of the left
PL window border. This is affected by the
PL border flag in window options.
PL
PT SEE ALSO:
BS WindowBorderTop
PL ,
PT
BS WindowBorderBottom
PT and
BS WindowBorderRight
PT .
ED
|windowborderright|
WT {Integer}=WindowBorderRight
PL This returns the width of the right
PL window border. This is affected by the
PL border flag in window options.
PL
PT SEE ALSO:
BS WindowBorderTop
PT ,
BS WindowBorderLeft
PL
PT and
BS WindowBorderBottom
PT .
ED
|windowbordertop|
WT {Integer}=WindowBorderTop
PL This returns the height of the top
PL window border. This is affected by the
PL border flag in window options and the
PL font size of the current screen.
PT SEE ALSO:
BS WindowBorderBottom
PL ,
PT
BS WindowBorderLeft
PT and
BS WindowBorderRight
PT .
ED
|windowcolors|
WT {Integer}=WindowColors
PL This returns the number of colors available
PL for the current window.
PL
PT SEE ALSO:
BS ScreenColors
PT .
ED
|windowheight|
WT {Integer}=WindowHeight
PL This returns the height of the current
PL window.
PL
PT SEE ALSO:
BS ScreenHeight
PT .
ED
|windowname|
WT {String}=WindowName
PL This returns the object name of the current
PL window. Under normal cases this will
PL always be "UserWindow"
ED
|windowtitle|
WT {String}=WindowTitle
PL This returns the titlebar text of the
PL current window.
PL
PT SEE ALSO:
BS ScreenTitle
PT .
ED
|windowto|
WT WindowTo <flags>
PL Moves the window to front or back depending
PL on the flag settings. See pages 4-18 and
PL 6-36 in the yellow manual for a full
PL description of this command.
PL
PT SEE ALSO:
BS ScreenTo
PT .
ED
|windowwidth|
WT {Integer}=WindowWidth
PL This returns the width of the current
PL window.
PL
PT SEE ALSO:
BS ScreenWidth
PT .
ED
|windowx|
WT {Integer}=WindowX
PL This returns the current window's X offset
PL from its screen origin.
PL
PT SEE ALSO:
BS WindowY
PT .
ED
|windowy|
WT {Integer}=WindowY
PL This returns the current window's Y offset
PL from its screen origin.
PL
PT SEE ALSO:
BS WindowX
PT .
ED
|workbenchcolors|
WT {Integer}=WorkbenchColors
PL This returns the number of colors available
PL on the workbench screen.
PL
PT SEE ALSO:
BS ScreenColors
PT .
ED
|workbenchheight|
WT {Integer}=WorkbenchHeight
PL This returns the height of the workbench
PL screen.
PL
PT SEE ALSO:
BS ScreenHeight
PT .
ED
|workbenchwidth|
WT {Integer}=WorkbenchWidth
PL This returns the width of the workbench
PL screen.
PL
PT SEE ALSO:
BS ScreenWidth
PT .
ED